package cn.edu.qzuie.artist.module.td.controller.admin.publishactivity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import com.alibaba.excel.annotation.*;
import cn.edu.qzuie.artist.framework.excel.core.annotations.DictFormat;
import cn.edu.qzuie.artist.framework.excel.core.convert.DictConvert;

@Schema(description = "管理后台 -  发布活动 Response VO")
@Data
@ExcelIgnoreUnannotated
public class PublishActivityRespVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "5183")
    @ExcelProperty("编号")
    private Long id;

    @Schema(description = "用户编号，系统用户编号或者企业用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "10045")
    @ExcelProperty("用户编号，系统用户编号或者企业用户编号")
    private Long userId;

    @Schema(description = "发布者")
    @ExcelProperty("发布者")
    private String nickName;

    @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "21416")
    @ExcelProperty("用户编号")
    private Long activityId;

    @Schema(description = "活动名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("活动名称")
    private String activityName;

    @Schema(description = "发布活动用户类型，系统用户，企业", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
    @ExcelProperty(value = "发布活动用户类型，系统用户，企业", converter = DictConvert.class)
    @DictFormat("td_activity_user_type") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private Boolean userType;



}